/**
 * Created by henian.xu on 2018/11/26.
 * 路由配置
 */

const path = require('path');

module.exports = srcDir => {
    const resolve = dir => path.join(srcDir, dir);
    return [
        {
            name: 'index',
            chunkName: 'pages/index',
            path: '/',
            component: resolve('/pages/index.vue'),
        },
    ];
};
